//
//  CoolSlidingMenuView.h
//  333333
//
//  Created by 刘应平 on 2017/8/31.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CoolSlidingMenuView;
@protocol CoolSlidingMenuViewDelegate <NSObject>

- (void)CoolSlidingMenuViewWithView:(CoolSlidingMenuView *)menu clickIndex:(NSInteger)index;

@end
@interface CoolSlidingMenuView : UIView
- (instancetype)initWithFrame:(CGRect)frame section:(NSInteger)section row:(NSInteger)row data:(NSArray *)data;
/**  pagecontroller的默认颜色  */
@property (strong, nonatomic) UIColor  *defeatColor;
/**  pagecontroller的当前颜色  */
@property (strong, nonatomic) UIColor  *currentColor;
/**  是否显示pagecontroller  */
@property (assign, nonatomic) BOOL   isShowPageCtr;
/**  是否分页 ,默认分页 */
@property (assign, nonatomic) BOOL   isPagingEnabled;
/**  是否具有反弹效果,默认有  */
@property (assign, nonatomic) BOOL   isBounce;

/**  代理  */
@property (weak, nonatomic) id<CoolSlidingMenuViewDelegate>  delegate;

@end
